package com.im.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.im.project.entity.ChatMessage;
import com.im.project.entity.dto.MessageTopDto;
import com.im.project.entity.dto.SendMessageDto;

/**
 * 会话消息 服务层接口
 *
 * @author yunZhouJiaDi
 */
public interface ChatMessageService extends IService<ChatMessage> {

    Boolean sendPrivateMessage(SendMessageDto sendMessageDto);

    Boolean sendClusterMessage(SendMessageDto sendMessageDto);

    Boolean updateReadMsgState(String contactId);

    Boolean setMessageTop(MessageTopDto messageTopDto);

}
